Accepts any changes and closes the dialog box.